#include <stdio.h>
int main()
{	    	   		 
    int a;
    int counter1 = 0, counter2 = 0;
    printf("Please enter the number:\n");
    scanf("%d", &a);
    if (a == -1)
        printf("over!\n");
    else
    {	    	   		 

        do
        {	    	   		 


            if (a % 2 != 0)
            {	    	   		 
                printf("%d:odd\n", a);
                counter1++;
            }
            else
            {	    	   		 
                if (a == 0)
                {	    	   		 
                    printf("The total number of odd is %d\n", counter1);
                    printf("The total number of even is %d\n", counter2);

                }
                else
                {	    	   		 
                    printf("%d:even\n", a);
                    counter2++;
                }
            }
            scanf("%d", &a);

        }
        while (a != -1);
    }

    printf("The total number of odd is %d\n", counter1);
    printf("The total number of even is %d\n", counter2);

}